﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace AllTest.Tools
{
    public static class ThreadPoolUtl
    {
        public static Thread getCurrentT()
        {
            return Thread.CurrentThread;
        }

        public static void StartNewThread(Func<string> aa)
        {
            Task<string> task = Task.Factory.StartNew<string>(aa);
        }

    }
}
